package com.dreamoo.common.enums;

import com.dreamoo.common.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @author 山顶洞人郑某
 * @className LoginType.java
 * @date 2025 05 08
 */
@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum LoginType {

    QQ_EMAIL_LOGIN(1,"QQ邮箱登录"),
    WX_LOGIN(2,"微信登录"),
    PASS_WORD_LOGIN(3,"用户密码登录");
    private Integer type;
    private String desc;
    
    @EnumValue
    public Integer getType() {
        return type;
    }
}
